<!--
  Generated template for the RegularMaintainPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>常规保养</ion-title>
    <ion-buttons end>
        <button ion-button icon-only (click)="scan()" > 
          <ion-icon ios="ios-qrscan"></ion-icon>
        </button>
    </ion-buttons>
  </ion-navbar>

</ion-header>


<ion-content no-padding>
    
    <ion-list>
        
        <ion-item style="background: rgb(221, 221, 221)">
            <ion-icon name="md-swap" item-start color="primary"></ion-icon>
            <ion-label>机械通风</ion-label>
        </ion-item>
        <ion-item class="item_bg" detail-push (click)="gotoOpenAir();">
            <ion-label [ngStyle]="{'color':posts !== '管理人员' ? 'black' : 'lightgray'}">开机</ion-label>
        </ion-item>
        <ion-item class="item_bg"  detail-push (click)="gotoCloseAir();">
            <ion-label [ngStyle]="{'color':posts !== '管理人员' ? 'black' : 'lightgray'}">关机</ion-label>
        </ion-item>
        <ion-item class="item_bg" detail-push (click)="gotoShowAir();">
            <ion-label>显示</ion-label>
        </ion-item>


        <ion-item style="background: #dddddd">
            <ion-icon name="ios-thermometer-outline" item-start color="primary"></ion-icon>
            <ion-label>谷物冷却</ion-label>
        </ion-item>
        <ion-item class="item_bg" detail-push (click)="gotoOpenCooling();">
            <ion-label [ngStyle]="{'color':posts !== '管理人员' ? 'black' : 'lightgray'}">开机</ion-label>
        </ion-item>
        <ion-item class="item_bg"  detail-push (click)="gotoCloseCooling();">
            <ion-label [ngStyle]="{'color':posts !== '管理人员' ? 'black' : 'lightgray'}">关机</ion-label>
        </ion-item>
        <ion-item class="item_bg" detail-push (click)="gotoShowCooling();">
            <ion-label>显示</ion-label>
        </ion-item>
    </ion-list>
</ion-content>
